package org.arabidopsis.ahocorasick;

import java.util.Set;


public class SearchResult {
    State lastMatchedState;
    byte[] bytes;
    int lastIndex;

    SearchResult(State s, byte[] bs, int i) {
        this.lastMatchedState = s;
        this.bytes = bs;
        this.lastIndex = i;
    }


    public Set getOutputs() {
        return this.lastMatchedState.getOutputs();
    }


    public int getLastIndex() {
        return this.lastIndex;
    }
}